|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is information on a product in full production. march 2016 docid027096 rev 3 1/139 stm32l073x8 stm32l073xb stm32l073xz ultra-low-power 32-bit mcu arm ? -based cortex ? -m0+, up to 192kb flash, 20kb sram, 6kb eepro m, lcd, usb, adc, dacs datasheet - production data features ? ultra-low-power platform ? 1.65 v to 3.6 v power supply ? - 40 to 125 c temperature range ? 0.29 a standby mode (3 wakeup pins) ? 0.43 a stop mode (16 wakeup lines) ? 0.86 a stop mode + rtc + 20 kb ram retention ? down to 93 a/mhz in run mode ? 5 s wakeup time (from flash memory) ? 41 a 12-bit adc conversion at 10 ksps ? core: arm ? 32-bit cortex ? -m0+ with mpu ? from 32 khz up to 32 mhz max. ? 0.95 dmips/mhz ? reset and supply management ? ultra-safe, low-power bor (brownout reset) with 5 selectable thresholds ? ultra-low-power por/pdr ? programmable voltage detector (pvd) ? clock sources ? 1 to 25 mhz crystal oscillator ? 32 khz oscillator for rtc with calibration ? high speed internal 16 mhz factory-trimmed rc (+/- 1%) ? internal low-power 37 khz rc ? internal multispeed low-power 65 khz to 4.2 mhz rc ? internal self calibration of 48 mhz rc for usb ? pll for cpu clock ? pre-programmed bootloader ? usb, usart supported ? development support ? serial wire debug supported ? up to 84 fast i/os (78 i/os 5v tolerant) ? memories ? up to 192 kb flash memory with ecc (2 banks with read-while-write capability) ? 20kb ram ? 6 kb of data eeprom with ecc ? 20-byte backup register ? sector protection against r/w operation ? lcd driver for up to 4x52 or 8x48 segments ? support contrast adjustment ? support blinking mode ? step-up converted on board ? rich analog peripherals ? 12-bit adc 1.14 msps up to 16 channels (down to 1.65 v) ? 2 x 12-bit channel dacs with output buffers (down to 1.8 v) ? 2x ultra-low-power comparators (window mode and wake up capability, down to 1.65 v) ? up to 24 capacitive sensing channels supporting touchkey, linear and rotary touch sensors ? 7-channel dma controller, supporting adc, spi, i2c, usart, dac, timers ? 11x peripheral communication interfaces ? 1x usb 2.0 crystal-less, battery charging detection and lpm ? 4 x usart ( 2 with iso 7816, irda), 1x uart (low power) ? up to 6x spi 16 mbits/s ? 3 x i2c ( 2 with smbus/pmbus) ? 11x timers: 2x 16-bit with up to 4 channels, 2x 16-bit with up to 2 channels, 1x 16-bit ultra-low-power timer, 1x systick, 1x rtc, 2x 16-bit basic for dac, and 2x watchdogs (independent/window) ? crc calculation unit, 96-bit unique id ? true rng and firewall protection ? all packages are ecopack ? 2 table 1. device summary reference part number stm32l073x8 STM32L073V8 stm32l073xb stm32l073vb, stm32l073rb, stm32l073cb stm32l073xz stm32l073vz, stm32l073rz, stm32l073cz ) % * $ ufbga100 7x7 mm lqfp48 7 x 7 mm lqfp64 10x10 mm lqfp100 14x14 mm tfbga64 5x5 mm ) % * $ www.st.com
contents stm32l073xx 2/139 docid027096 rev 3 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 2.2 ultra-low-power device continuum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.1 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2 interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3 arm? cortex?-m0+ core with mpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4 reset and supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4.2 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4.3 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.5 clock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.6 low-power real-time clock and backup registers . . . . . . . . . . . . . . . . . . . 25 3.7 general-purpose inputs/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.8 memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.9 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.10 direct memory access (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.11 liquid crystal display (lcd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.12 analog-to-digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.13 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.13.1 internal voltage reference (v refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.13.2 v lcd voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.14 digital-to-analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.15 ultra-low-power comparators and reference voltage . . . . . . . . . . . . . . . . 29 3.16 touch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.17 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.17.1 general-purpose timers (tim2, tim3, tim21 and tim22) . . . . . . . . . . . 31 3.17.2 low-power timer (lptim) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.17.3 basic timer (tim6, tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 docid027096 rev 3 3/139 stm32l073xx contents 4 3.17.4 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.17.5 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.17.6 window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.18 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.18.1 i2c bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.18.2 universal synchronous/asynchronous receiver transmitter (usart) . . 34 3.18.3 low-power universal asynchronous receiver transmitter (lpuart) . . . 34 3.18.4 serial peripheral interface (spi)/inter-integrated sound (i2s) . . . . . . . . 35 3.18.5 universal serial bus (usb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.19 clock recovery system (crs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.20 cyclic redundancy check (crc) calculation unit . . . . . . . . . . . . . . . . . . . 36 3.21 serial wire debug port (sw-dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.7 optional lcd power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 6.1.8 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.2 embedded reset and power control bloc k characteristics . . . . . . . . . . . 64 6.3.3 embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 65 6.3.4 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.3.5 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.6 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.3.7 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 6.3.8 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 contents stm32l073xx 4/139 docid027096 rev 3 6.3.9 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.3.10 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.3.11 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 6.3.12 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 6.3.13 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 6.3.14 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 6.3.15 12-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.16 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 6.3.17 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 6.3.18 comparators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.3.19 timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 6.3.20 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 6.3.21 lcd controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 7 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 7.1 lqfp100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 7.2 ufbga100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 7.3 lqfp64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 7.4 tfbga64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 7.5 lqfp48 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 7.6 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 7.6.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 docid027096 rev 3 5/139 stm32l073xx list of tables 6 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. ultra-low-power stm32l073xxx device features and peripheral counts . . . . . . . . . . . . . . 11 table 3. functionalities depending on the operating power supply range . . . . . . . . . . . . . . . . . . . . 16 table 4. cpu frequency range depending on dynamic voltag e scaling . . . . . . . . . . . . . . . . . . . . . . 16 table 5. functionalities depending on the working mode ? (from run/active down to standby) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 6. stm32l0xx peripherals interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 7. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 8. internal voltage reference measured values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 9. capacitive sensing gpios available on stm32l07 3xx devices . . . . . . . . . . . . . . . . . . . . 30 table 10. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 11. comparison of i2c analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 12. stm32l073xx i 2 c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 13. usart implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 14. spi/i2s implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 15. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 16. stm32l073xx pin definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 17. alternate functions port a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 18. alternate functions port b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 19. alternate functions port c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 20. alternate functions port d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 21. alternate functions port e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 22. alternate functions port h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 23. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 24. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 25. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 26. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 27. embedded reset and power control block characterist ics. . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 28. embedded internal reference voltage calibration valu es . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 29. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5 table 30. current consumption in run mode, code with data processing running from ? flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 31. current consumption in run mode vs code type, ? code with data processing running from flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 32. current consumption in run mode, code wit h data processing running from ram . . . . . . 69 table 33. current consumption in run mode vs code type, ? code with data processing running from ram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 34. current consumption in sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 35. current consumption in low-power run mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 36. current consumption in low-power sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 37. typical and maximum current consumptions in st op mode . . . . . . . . . . . . . . . . . . . . . . . . 73 table 38. typical and maximum current consumptions in standby mode . . . . . . . . . . . . . . . . . . . . . 74 table 39. average current consumption during wakeup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 40. peripheral current consumption in run or sleep mo de . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 41. peripheral current consumption in stop and stan dby mode . . . . . . . . . . . . . . . . . . . . . . . 78 table 42. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 43. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 44. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 list of tables stm32l073xx 6/139 docid027096 rev 3 table 45. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 46. lse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 47. 16 mhz hsi16 oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 table 48. hsi48 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 49. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 50. msi oscillator ch aracteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 51. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 52. ram and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 53. flash memory and dat a eeprom characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 54. flash memory and data eeprom endurance and retention . . . . . . . . . . . . . . . . . . . . . . . 88 table 55. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 56. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 57. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 58. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 59. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 60. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 61. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 62. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 63. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 64. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 65. r ain max for f adc = 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 66. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 67. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 68. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 69. temperature sensor characteristic s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6 table 70. comparator 1 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 table 71. comparator 2 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 table 72. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 table 73. i2c analog filter characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table 74. usart/lpuart characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table 75. spi characteristics in voltage range 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 0 table 76. spi characteristics in voltage range 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1 table 77. spi characteristics in voltage range 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 table 78. i2s characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 table 79. usb startup time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 table 80. usb dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 table 81. usb: full speed electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 17 table 82. lcd controller characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 83. lqpf100 - 100-pin, 14 x 14 mm low-profile quad flat package ? mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 table 84. ufbga100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball grid array ? package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 table 85. ufbga100 recommended pcb design rules (0.5 mm pitch bga) . . . . . . . . . . . . . . . . . 123 table 86. lqfp64 - 64-pin, 10 x 10 mm low-profile quad flat ? package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 table 87. tfbga64 ? 64-ball, 5 x 5 mm, 0.5 mm pitch, thin profile fine pitch ball ? grid array package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 table 88. tfbga64 recommended pcb design rules (0.5 mm pitch bga). . . . . . . . . . . . . . . . . . . 129 table 89. lqfp48 - 48-pin, 7 x 7 mm low-profile quad flat package mechanical data. . . . . . . . . . . 132 table 90. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 table 91. stm32l073xx ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 table 92. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 docid027096 rev 3 7/139 stm32l073xx list of figures 8 list of figures figure 1. stm32l073xx block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 3. stm32l073xx lqfp100 pinout - 14 x 14 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 4. stm32l073xx ufbga100 ballout - 7x 7 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 5. stm32l073xx lqfp64 pinout - 10 x 10 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 6. stm32l073xx tfbga64 ballout - 5x 5 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 7. stm32l073xx lqfp48 pinout - 7 x 7 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 8. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 9. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 10. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 11. power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 12. optional lcd power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 13. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 14. idd vs vdd, at ta= 25/55/85 /105 c, run mode, code running from ? flash memory, range 2, hse, 1ws . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 15. idd vs vdd, at ta= 25/55/85 /105 c, run mode, code running from ? flash memory, range 2, hsi16, 1ws . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 16. idd vs vdd, at ta= 25 c, low-power run mode, code running ? from ram, range 3, msi (range 0) at 64 khz, 0 ws . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 17. idd vs vdd, at ta= 25/55/ 85/105/125 c, stop mode with rtc enabled ? and running on lse low drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 18. idd vs vdd, at ta= 25/55/85/ 105/125 c, stop mode with rtc disabled, ? all clocks off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 19. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 20. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 figure 21. hse oscillator circuit diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 figure 22. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 23. hsi16 minimum and maximum value versus temperat ure . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 24. vih/vil versus vdd (cmos i/os) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 figure 25. vih/vil versus vdd (ttl i/os) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 26. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 27. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 28. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 29. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 figure 30. power supply and reference decoupling (v ref+ not connected to v dda ). . . . . . . . . . . . . 102 figure 31. power supply and reference decoupling (v ref+ connected to v dda ). . . . . . . . . . . . . . . . 103 figure 32. 12-bit buffered/non-buffered dac. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 figure 33. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 34. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 35. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 36. i 2 s slave timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 figure 37. i 2 s master timing diag ram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 figure 38. usb timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 39. lqfp100 - 100-pin, 14 x 14 mm low-profile quad flat package outline . . . . . . . . . . . . . . 119 figure 40. lqfp100 - 100-pin, 14 x 14 mm low-profile quad flat ? recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 41. lqfp100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 42. ufbga100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball ? list of figures stm32l073xx 8/139 docid027096 rev 3 grid array package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 figure 43. ufbga100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball ? grid array package recommended footpr int . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 figure 44. ufbga100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 figure 45. lqfp64 - 64-pin, 10 x 10 mm low-profile quad flat package outline . . . . . . . . . . . . . . . . 125 figure 46. lqfp64 - 64-pin, 10 x 10 mm low-profile quad flat recommended footprint . . . . . . . . . . 126 figure 47. lqfp64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 48. tfbga64 ? 64-ball, 5 x 5 mm, 0.5 mm pitch thin profile fine pitch ball ? grid array package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 figure 49. tfbga64 ? 64-ball, 5 x 5 mm, 0.5 mm pitch, thin profile fine pitch ball ? ,grid array recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 figure 50. tfbga64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 figure 51. lqfp48 - 48-pin, 7 x 7 mm low-profile quad flat package outline . . . . . . . . . . . . . . . . . . 131 figure 52. lqfp48 - 48-pin, 7 x 7 mm low-profile quad flat recommended footprint . . . . . . . . . . . . 133 figure 53. lqfp48 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 figure 54. thermal resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 docid027096 rev 3 9/139 stm32l073xx introduction 36 1 introduction the ultra-low-power stm32l073xx are offered in 5 different package types from 48 to 100 pins. depending on the device chosen, different sets of peripherals are included, the description below gives an overview of the complete range of peripherals proposed in this family. these features make the ultra-low-power stm32l073xx microcontrollers suitable for a wide range of applications: ? gas/water meters and industrial sensors ? healthcare and fitness equipment ? remote control and user interface ? pc peripherals, gaming, gps equipment ? alarm system, wired and wireless sensors, video intercom this stm32l073xx datasheet should be read in conjunction with the stm32l0x3xx reference manual (rm0367) . for information on the arm ? cortex ? -m0+ core please refer to the cortex ? -m0+ technical reference manual, available from the www.arm.com website. figure 1 shows the general block diagram of the device family. description stm32l073xx 10/139 docid027096 rev 3 2 description the ultra-low-power stm32l073xx microcontrolle rs incorporate the connectivity power of the universal serial bus (usb 2.0 crystal-less) with the high-performance arm ? cortex ? - m0+ 32-bit risc core operating at a 32 mhz frequency, a memory protection unit (mpu), high-speed embedded memories (up to 192 kbytes of flash program memory, 6 kbytes of data eeprom and 20 kbytes of ram) plus an extensive range of enhanced i/os and peripherals. the stm32l073xx devices provide high power efficiency for a wide range of performance. it is achieved with a large choice of internal and external clock sources, an internal voltage adaptation and several low-power modes. the stm32l073xx device offer several analog features, one 12-bit adc with hardware oversampling, two dacs, two ultra-low-power comparators, several timers, one low-power timer (lptim), four general-purpose 16-bit timers and two basic timer, one rtc and one systick which can be used as timebases. they also feature two watchdogs, one watchdog with independent clock and window capability and one window watchdog based on bus clock. moreover, the stm32l073xx devices embed standard and advanced communication interfaces: up to three i2cs, two spis, one i2s, four usarts, a low-power uart (lpuart), and a crystal-less usb. the devices offer up to 24 capacitive sensing channels to simply add touch sensing functionality to any application. the stm32l073xx also include a real-time clock and a set of backup registers that remain powered in standby mode. finally, their integrated lcd controller has a built-in lcd voltage generator that allows to drive up to 8 multiplexed lcds with contrast independent of the supply voltage. the ultra-low-power stm32l073xx devices operat e from a 1.8 to 3.6 v power supply (down to 1.65 v at power down) with bor and from a 1.65 to 3.6 v power supply without bor option. they are available in the -40 to +125 c temperature range. a comprehensive set of power-saving modes allows the design of low-power applications. docid027096 rev 3 11/139 stm32l073xx description 36 2.1 device overview table 2. ultra-low-power stm32l073xxx device features and peripheral counts peripheral stm32l073 v8 stm32l073 cb stm32l073 vb stm32l073 rb stm32l073 cz stm32l073 vz stm32l073 rz flash (kbytes) 64 kbytes 128 kbytes 192 kbytes data eeprom (kbytes) 3 kbytes 6 kbytes ram (kbytes) 20 kbytes timers general- purpose 4 basic 2 lptimer 1 rtc/systick/iwdg/wwdg 1/1/1/1 commu- nication interfaces spi/i2s 6(4) (1) /1 i 2 c 3 usart 4 lpuart 1 usb/(vdd_usb) 1/(1) gpios 84 37 84 51 (2) 37 84 51 (2) clocks: hse/lse/hsi/msi/lsi 1/1/1/1/1 12-bit synchronized adc ? number of channels 1 16 1 10 1 16 (2) 1 10 1 16 (2) 12-bit dac ? number of channels 2 2 lcd ? com x seg 1 4x52 or 8x48 1 4x18 1 4x52 or 8x48 1 4x32 or 8x28 (2) 1 4x18 1 4x52 or 8x48 1 4x32 or 8x28 (2) comparators 2 capacitive sensing channels 24 17 24 24 (2) 17 24 24 (2) max. cpu frequency 32 mhz operating voltage 1.8 v to 3.6 v (down to 1.65 v at power-down) with bor option 1.65 to 3.6 v without bor option operating temperatures ambient temperature: ?40 to +125 c junction temperature: ?40 to +130 c packages lqfp100 ufbga100 lqfp48 lqfp100 ufbga100 lqfp64, tfbga64 lqfp48 lqfp100 ufbga100 lqfp64, tfbga64 1. 4 spi interfaces are usarts operating in spi master mode. 2. tfbga64 has one gpio, one adc inpu t, one capacitive sensing c hannel and one comxseg (4x31 or 8x27) less than lqfp64. description stm32l073xx 12/139 docid027096 rev 3 figure 1. stm32l073xx block diagram & |